package com.xuwang.pojo;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * (RestaurantFood)实体类
 *
 * @author smallseven
 * @since 2021-09-14 17:09:36
 */
@ApiModel(value = "RestaurantFood",description = "$tableInfo.comment")
public class RestaurantFood implements Serializable {
    private static final long serialVersionUID = -89713342486004483L;
    /**
    * 菜品id
    */
	@ApiModelProperty(name = "id",notes = "菜品id",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 菜品名称
    */
	@ApiModelProperty(name = "foodName",notes = "菜品名称",dataType = "String",required = true)
    private String foodName;
    /**
    * 餐馆id
    */
	@ApiModelProperty(name = "restaurantId",notes = "餐馆id",dataType = "Integer",required = true)
    private Integer restaurantId;
    /**
    * 评论id
    */
	@ApiModelProperty(name = "commentId",notes = "评论id",dataType = "Integer",required = true)
    private Integer commentId;
    /**
    * 菜品分类id
    */
	@ApiModelProperty(name = "foodKindId",notes = "菜品分类id",dataType = "Integer",required = true)
    private Integer foodKindId;
    /**
    * 菜品价格
    */
	@ApiModelProperty(name = "price",notes = "菜品价格",dataType = "Object",required = true)
    private Object price;
    /**
    * 菜品图片路径
    */
	@ApiModelProperty(name = "img",notes = "菜品图片路径",dataType = "String",required = true)
    private String img;
    /**
    * 评论次数
    */
	@ApiModelProperty(name = "commentCount",notes = "评论次数",dataType = "Integer",required = true)
    private Integer commentCount;

    /**
     *
     * 对应餐馆名称
     */
    private String restaurantName;

    public List<Comment> getComment() {
        return comment;
    }

    public void setComment(List<Comment> comment) {
        this.comment = comment;
    }

    /**
     *
     * 评价平均分
     */
    private Double AvgSocre;
    /**
     * 菜系名
     */
    private String foodKind;

    /**
     * 排名
     */
    private Integer rank;

    /**
     * 评论列表
     */
    private List<Comment> comment;


    /**
     * 评论平均口味
     */
    private Double avgTaste;



    public Double getAvgTaste() {
        return avgTaste;
    }

    public void setAvgTaste(Double avgTaste) {
        this.avgTaste = avgTaste;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public String getFoodKind() {
        return foodKind;
    }

    public void setFoodKind(String foodKind) {
        this.foodKind = foodKind;
    }

    public Double getAvgSocre() {
        return AvgSocre;
    }

    public void setAvgSocre(Double avgSocre) {
        AvgSocre = avgSocre;
    }

    public String getRestaurantName() {
        return restaurantName;
    }

    public void setRestaurantName(String restaurantName) {
        this.restaurantName = restaurantName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public Integer getRestaurantId() {
        return restaurantId;
    }

    public void setRestaurantId(Integer restaurantId) {
        this.restaurantId = restaurantId;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Integer getFoodKindId() {
        return foodKindId;
    }

    public void setFoodKindId(Integer foodKindId) {
        this.foodKindId = foodKindId;
    }

    public Object getPrice() {
        return price;
    }

    public void setPrice(Object price) {
        this.price = price;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    @Override
    public String toString() {
        return "RestaurantFood{" +
                "id=" + id +
                ", foodName='" + foodName + '\'' +
                ", restaurantId=" + restaurantId +
                ", commentId=" + commentId +
                ", foodKindId=" + foodKindId +
                ", price=" + price +
                ", img='" + img + '\'' +
                ", commentCount=" + commentCount +
                ", restaurantName='" + restaurantName + '\'' +
                ", AvgSocre=" + AvgSocre +
                '}';
    }
}
